package com.cblz.bd.server.core.controller;

import com.cblz.bd.common.core.utils.ResultResponse;
import com.cblz.bd.minio.spring.boot.starter.properties.MinioProperties;
import com.cblz.bd.server.core.annotation.AdminApiController;
import io.minio.MinioClient;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.Map;

/**
 * {@code @Name:} DashboardController
 * {@code @Description: } 导航台
 * {@code @Author:} by yanjieping
 * {@code @CreateDate:} 2022/11/11 - 周五
 */
@Slf4j
@RequiredArgsConstructor
@AdminApiController("dashboard")
public class DashboardController {

    private final MinioClient minioClient;
    private final MinioProperties minioProperties;

    @GetMapping
    public ResultResponse dashboard() {
        return new ResultResponse().data(Map.of("remark", "我真是服了你这个老六！"));
    }
}
